package classroom.edu.info.manager.domain;

public class Teacher extends Person{

    private String year;

    public Teacher() {
    }

    public Teacher(String id, String name, String age, String year) {
        super(id,name,age);
        this.year = year;
    }


    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }
}
